package com.openai.chatgpt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Stud
 * @date 2023-12-04 11:15
 */
@Data
@Component
@ConfigurationProperties(prefix = "openai.chatgpt")
public class Properties {
    private String model;
    private String apiKey;
    private String apiUrl;
    private Integer maxCompletions;
    private Integer temperature;
    private Integer maxTokens;
}
